package com.ruoyi.news.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新闻内容对象 news_content
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
public class NewsContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 新闻内容 */
    @Excel(name = "新闻内容")
    private String text;

    /** 所属菜单id */
    @Excel(name = "所属菜单id")
    private String menuId;

    /**  */
    @Excel(name = "")
    private String newsContentcol;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }
    public void setMenuId(String menuId) 
    {
        this.menuId = menuId;
    }

    public String getMenuId() 
    {
        return menuId;
    }
    public void setNewsContentcol(String newsContentcol) 
    {
        this.newsContentcol = newsContentcol;
    }

    public String getNewsContentcol() 
    {
        return newsContentcol;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("text", getText())
            .append("menuId", getMenuId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("newsContentcol", getNewsContentcol())
            .toString();
    }
}
